//!@author denglibin
//!@date 2025/8/26 11:18
//!@desc

pub mod tests{

    #[test]
    pub fn test_base64(){
        let base64_str = "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
            gg==";
        
        let s =  base64_str
            .replace("\n", "")
            .replace("\t", "")
            .replace(" ", "")
            .replace("\r", "");
        println!("{}", s);
        my_util_lib::base64::decode_to_file("out.png", s.as_str()).unwrap()
    }
    
    #[test]
    pub fn test_file2base64(){
        let r = my_util_lib::base64::encode_file(r"C:\Users\mdjro\Desktop\组 10786.png").unwrap();
        println!("{}", r);
    }
}